package com.mixmall.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 
 * </p>
 *
 * @author caozhiren
 * @since 2024-09-13
 */
@TableName("mai_product_sku")
public class MaiProductSku implements Serializable {

    private static final long serialVersionUID = 1L;

    private Integer skuId;

    private Integer spuId;

    private BigDecimal skuPrice;

    private BigDecimal skuShopPrice;

    /**
     * 规格属性 （颜色：红色 尺寸：XL）
     */
    private String skuAttr;

    private Integer stockNum;

    public Integer getSkuId() {
        return skuId;
    }

    public void setSkuId(Integer skuId) {
        this.skuId = skuId;
    }

    public Integer getSpuId() {
        return spuId;
    }

    public void setSpuId(Integer spuId) {
        this.spuId = spuId;
    }

    public BigDecimal getSkuPrice() {
        return skuPrice;
    }

    public void setSkuPrice(BigDecimal skuPrice) {
        this.skuPrice = skuPrice;
    }

    public BigDecimal getSkuShopPrice() {
        return skuShopPrice;
    }

    public void setSkuShopPrice(BigDecimal skuShopPrice) {
        this.skuShopPrice = skuShopPrice;
    }

    public String getSkuAttr() {
        return skuAttr;
    }

    public void setSkuAttr(String skuAttr) {
        this.skuAttr = skuAttr;
    }

    public Integer getStockNum() {
        return stockNum;
    }

    public void setStockNum(Integer stockNum) {
        this.stockNum = stockNum;
    }

    @Override
    public String toString() {
        return "MaiProductSku{" +
        "skuId = " + skuId +
        ", spuId = " + spuId +
        ", skuPrice = " + skuPrice +
        ", skuShopPrice = " + skuShopPrice +
        ", skuAttr = " + skuAttr +
        ", stockNum = " + stockNum +
        "}";
    }
}
